<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                template="../template/template.xhtml">

<ui:define name="top"></ui:define>
<ui:define name="content">
	<div id="left_content"/>
	<div id="right_content">
	<h:form rendered="#{!loginBean.authenticated}">
		<h:outputText value="username"/>
		<h:inputText value="#{loginBean.userName}" immediate="true"/>
		<h:outputText value="password"/>
		<h:inputSecret value="#{loginBean.password}" immediate="true"/>
		<h:commandButton value="login" action="#{loginBean.login}"/>
	</h:form>
	</div>
</ui:define>
<ui:define name="footer"></ui:define>
</ui:composition>